package com.feidee.data.email.model;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

public class EmailRequestParam {

	@NotEmpty
	@NotNull
	private String email_key;
	@NotEmpty
	@NotNull
	private String apt;
	@NotEmpty
	@NotNull
	private String key;

	private boolean onlySend = false;

	private boolean sendEmail = true;

	private boolean sync = false;

	private boolean kill = false;

	private boolean sendLog = true;

	public boolean isKill() {
		return kill;
	}

	public void setKill(boolean kill) {
		this.kill = kill;
	}

	private long cost;
	private String requestName;

	public long getCost() {
		return cost;
	}

	public void setCost(long cost) {
		this.cost = cost;
	}

	public String getRequestName() {
		return requestName;
	}

	public void setRequestName(String requestName) {
		this.requestName = requestName;
	}

	public String getEmail_key() {
		return email_key;
	}

	public void setEmail_key(String email_key) {
		this.email_key = email_key;
	}

	public String getApt() {
		return apt;
	}

	public void setApt(String apt) {
		this.apt = apt;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public boolean isOnlySend() {
		return onlySend;
	}

	public void setOnlySend(boolean onlySend) {
		this.onlySend = onlySend;
	}

	public boolean isSendEmail() {
		return sendEmail;
	}

	public void setSendEmail(boolean sendEmail) {
		this.sendEmail = sendEmail;
	}

	public boolean isSync() {
		return sync;
	}

	public void setSync(boolean sync) {
		this.sync = sync;
	}

	public boolean isSendLog() {
		return sendLog;
	}

	public void setSendLog(boolean sendLog) {
		this.sendLog = sendLog;
	}
}
